package com.kaibes.platform.currency.db;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

/**
CREATE TABLE `currency` (
  `id` TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` VARCHAR (32) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci;
 */
@Description("货币")
@Data
public class Currency {
    
    @Description("货币ID")
    private Short id;
    @Description("货币名称")
    private String name;
    
}
